package com.loongtech.bi.entity.game;

public class YuanBaoProportion {
	private String day; // 日期
	private Integer rolelevel; //角色等级
	private Long param;
	
	public YuanBaoProportion(){}
	
	public YuanBaoProportion(String day, Integer rolelevel, Long param) {
		super();
		this.day = day;
		this.rolelevel = rolelevel;
		this.param = param;
	}

	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}

	public Integer getRolelevel() {
		return rolelevel;
	}

	public void setRolelevel(Integer rolelevel) {
		this.rolelevel = rolelevel;
	}

	public Long getParam() {
		return param;
	}

	public void setParam(Long param) {
		this.param = param;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((day == null) ? 0 : day.hashCode());
		result = prime * result + ((param == null) ? 0 : param.hashCode());
		result = prime * result
				+ ((rolelevel == null) ? 0 : rolelevel.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		YuanBaoProportion other = (YuanBaoProportion) obj;
		if (day == null) {
			if (other.day != null)
				return false;
		} else if (!day.equals(other.day))
			return false;
		if (param == null) {
			if (other.param != null)
				return false;
		} else if (!param.equals(other.param))
			return false;
		if (rolelevel == null) {
			if (other.rolelevel != null)
				return false;
		} else if (!rolelevel.equals(other.rolelevel))
			return false;
		return true;
	}
}
